package com.huida.app.java8.unit01;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-02-01 23:46
 */
public class Demo02 {

}

interface Animal{
	void speak();
}

class Horse implements Animal{

	@Override
	public void speak() {
		System.out.println("si si si si si ====> ");
	}
}

class Bird implements Animal{

	@Override
	public void speak() {
		System.out.println("zhi zhi zhi zhi ====> ");
	}
}
